﻿@model etracks.Web.IssueReadOnlyViewModel

@using (Html.BeginForm("Edit", "Issue", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="form-group">
        <label for="input_name" class="col-sm-2 control-label">Project</label>
        <div class="col-sm-8">
            <p class="form-control-static">@Model.ProjectName</p>
        </div>
    </div>

    <div class="form-group">
        <label for="input_name" class="col-sm-2 control-label">Issue</label>
        <div class="col-sm-8">
            <p class="form-control-static">@Model.Name</p>
        </div>
    </div>

    <div class="form-group">
        <label for="input_name" class="col-sm-2 control-label">Description</label>
        <div class="col-sm-8">
            <p class="form-control-static">@Html.Raw(Model.Description.Replace("\n", "<br/>"))</p>
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-8">
            @Html.ActionLink("Issue List", "List", "Issue", null, new { @class = "btn btn-default" })
        </div>
    </div>
}